package com.coldworks.base;

import com.coldworks.base.manager.BaseGuideManager;
import com.coldworks.coldjoke.MainActivity;

//import android.annotation.SuppressLint;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.view.View;

//@SuppressLint("HandlerLeak")
public class BaseGuideActivity extends BaseActivity {
	private View view;
	private Handler handler = new Handler() {
		@Override
		public void handleMessage(Message msg) {
			startActivity(new Intent(BaseGuideActivity.this, MainActivity.class));
			finish();

		}

	};

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		view = BaseGuideManager.getInstance().getGuideView(context, handler);
		this.setContentView(view);
	}
}
